package com.app.shop.entity.show;

import java.io.Serializable;
import java.util.List;

/**
 * @Author :chenliwei
 * @Description:
 * @Date: create in 12:29 2019-3-13.
 * @Modified by:
 */
public class BaseShow <T> implements Serializable {

    private Integer currentPage;
    private Integer pageSize;
    private long total;
    private List<T> list;
    private Integer pages;

    public BaseShow (){}

    public BaseShow(Integer currentPage,Integer pageSize,long total,Integer pages,List<T> list){
        this.currentPage=currentPage;
        this.pageSize=pageSize;
        this.total=total;
        this.pages=pages;
        this.list=list;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
